@import "_var";

.page-index-w {
  display: flex;
  align-items: center;
  justify-content: center;

  .content {
    margin-bottom: 10vh;
    .hd {
      margin-bottom: 50px;
    }
    form {
      width: 880px;
      height: 65px;
      display: flex;
      border-radius: 9999999999px;
      overflow: hidden;
      input {
        flex: 1;
        padding: 0 32px;
      }
      button {
        display: flex;
        align-items: center;
        padding: 0 40px;
        background-color: @text-brand;
        color: #fff;
        font-size: 20px;
        img {
          margin-right: 10px;
        }
      }
    }
  }
}

.page-list-w {
  display: flex;
  flex-direction: column;
  flex: 1;

  .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 90px;
  }
}

.page-detail-w {
  flex: 1;
  display: flex;
  flex-direction: column;
  .layout {
    display: flex;
    flex: 1;
    .col {
      flex: 1;
      display: flex;
      flex-direction: column;
    }
  }
  .panel {
    &:last-child {
      margin-bottom: 0;
    }
    .bd {
      background-color: #fffc;
    }

    &.main {
      flex: 1 1 auto;
      display: flex;
      flex-direction: column;
      .bd {
        margin-bottom: 0;
        flex: 1;
      }
    }
  }

  .images {
    height: 230px;
    padding: 30px;
    background-color: #fffc;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 40px;
    figure {
      .img {
        height: 140px;
        background-size: cover;
        background-position: top center;
      }
    }
    figcaption {
      margin-top: 12px;
      color: #777;
      text-align: center;
      font-size: 14px;
    }
  }
  .ft {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
  }
}